<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>澳宝红会员系统</title>
<link href="css/member_style.css" rel="stylesheet" type="text/css">
<script language = "javascript" type="text/JavaScript">
    function Define_width() {	
			document.getElementById("RightDiv").style.width = document.documentElement.offsetWidth - document.getElementById("LeftDiv").offsetWidth + "px";	
			//document.getElementById("RightDiv").style.width = document.documentElement.offsetWidth+ "px";
			/* alert(document.documentElement.offsetWidth); */
	}
	function showdiv(LeftDiv, RightDiv) {

		var LeftDiv = document.getElementById("LeftDiv");
		var RightDiv = document.getElementById("RightDiv");
	
		if (LeftDiv.style.display == "block") {
			LeftDiv.style.display = "none";
			/* alert(document.documentElement.offsetWidth); */
			RightDiv.style.width = document.documentElement.offsetWidth + "px";
	
		} else {
			LeftDiv.style.display = "block";
			RightDiv.style.width = document.documentElement.offsetWidth - document.getElementById("LeftDiv").offsetWidth + "px";
		}
	
	} 
</script>
</head>
<body onload="Define_width()">
<div class="header">
  <div class="logo"><a href="#" onclick="showdiv()"></a></div>
  <div class="top_right"><em>hanmeimei</em><a href="#">退出</a></div>
</div>
<div class="content">
  <div class="min_left" id="LeftDiv" style="float: left; margin: 0; display: block;">LeftDiv</div>
  <div class="min_right" id="RightDiv" style="float: left; margin: 0">RightDiv</div>
</div>
</body>
</html>